package com.bootdo.mbatis;

import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.orm.ibatis.SqlMapClientOperations;
import org.springframework.stereotype.Service;

@Service
public class DBSessionFactory {
	@Autowired
	private static SqlSessionTemplate sqlSessionTemplate;
	
	//protected SqlMapClientOperations sqlMap4Lic;
	
	public static SqlSessionTemplate getSqlSessionTemplate() {
		return sqlSessionTemplate;
	}
}
